﻿using System;
using System.Collections.Generic;

namespace BLL.Entities.Company
{
  public class CompanyOffice : BaseBusinessEntity
  {
    public Guid CompanyID { get; set; }
    public string Name { get; set; }
    public AddressInfo Address { get; set; }
    public ContactInfo Contact { get; set; }
    public IList<CompanyAgent> Agents { get; set; }

    public CompanyOffice()
    {
        Address = AddressInfo.CreateNewInstance<AddressInfo>();
        Contact = ContactInfo.CreateNewInstance<ContactInfo>();
        Agents = new List<CompanyAgent>();
    }
  }
}